package com.douban.app.service;

import com.douban.app.model.Song;
import com.douban.app.param.SongQueryParam;
import org.springframework.data.domain.Page;

import java.util.List;

public interface SongService {
    Song add(Song song);
    Song get(String songId);
    Page<Song> list(SongQueryParam songQueryParam);
    boolean modify(Song song);
    boolean delete(String songId);

    List<Song> all();

    List<Song> getSongByName(String name);

}
